<include file="../header" />
<body class="J_scroll_fixed">
<script>

        $(document).ready(function() {

          
            
        });

    </script>
<form class="well form-search" method="post" style="float:left;width:100%;" action="{:U('CompanyStaff/index')}">
    <div class="search_type cc mb10">
        <div class="mb10">
        <span class="mr20">
            公&nbsp;&nbsp;&nbsp;&nbsp;司：{:getCompanySelectHtml($companyId,1)}
                   
            <button class="btn btn-primary">搜索</button>
            <a class="btn" href="{:U('CompanyStaff/index')}">重置</a>
        </span>
        </div>
    </div>
</form>
<div class="wrap J_check_wrap">

    <table class="table table-hover table-bordered">
        <thead>
        <tr>
            <th>编号</th>
            <th>公司名称</th>
            <th>所在店铺</th>           
            <th>员工编号</th>
            <th>姓名</th>            
            <th>性别</th>
            <th>联系方式</th>
            <th>创建时间</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <foreach name="list" item="vo">
            <tr>
                <td>{$vo.staff_id}</td>
                <td>{$vo.company_name}</td>
                <td>{$vo.shop_name}</td>
                <td>{$vo.staff_number}</td>
                <td>{$vo.staff_name}</td>
                <td>{:getEnumString($gender,$vo['gender'])}</td>
                <td>{$vo.mobile}</td>
                <td>{$vo.create_time}</td>
                <td>
                    <a href='{:U("CompanyStaff/edit",array("id"=>$vo["staff_id"]))}'class="btn">修改</a> 
                </td>
            </tr>
        </foreach>
        </tbody>
    </table>
    <div class="pagination">{$page}</div>
</div>
<script src="__ROOT__/statics/js/common.js"></script>
</body>
</html>